set(APP_NAME zyfp)
project(${APP_NAME})
cmake_minimum_required(VERSION 2.8)
add_executable(${PROJECT_NAME} zyfp.c)
# 配置链接libzyfp
add_subdirectory(lib)
include_directories(lib)
target_link_libraries(${APP_NAME} zyfpk)
set(CMAKE_BUILD_TYPE DEBUG)
set(CMAKE_C_FLAGS_DEBUG "-g -DZYFP_DEBUG=1")
set(CMAKE_C_FLAGS_RELEASE "-Os")
set(CMAKE_C_FLAGS "-std=c99")
